package org.example.config;

/**
 * @author hsj
 * @description:
 * @date 2023/2/15 15:55
 */
import org.flowable.spring.SpringProcessEngineConfiguration;
import org.flowable.spring.boot.EngineConfigurationConfigurer;
import org.springframework.context.annotation.Configuration;

/**
 * flowable配置
 *
 * @author ssc
 */
@Configuration
public class WfProcessEngineConfig implements EngineConfigurationConfigurer<SpringProcessEngineConfiguration> {

    @Override
    public void configure(SpringProcessEngineConfiguration springProcessEngineConfiguration) {
        springProcessEngineConfiguration.setActivityBehaviorFactory(new WfActivityBehaviorFactory());
    }
}
